package com.knowledgegraph.zhongyao.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.knowledgegraph.common.annotation.Excel;
import com.knowledgegraph.common.core.domain.BaseEntity;

/**
 * 医案维护对象 introduce
 *
 * @author ruoyi
 * @date 2023-07-03
 */
public class Introduce extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Integer key;
    private String  username;
    /**
     * 医生主键
     */
    @Excel(name = "医生主键")
    private String docKey;

    /**
     * 药剂主键
     */

    @Excel(isExport = false)
    List<String> times;

    public List<String> getTimes() {
        return times;
    }

    public String getBingId() {
        return bingId;
    }

    public void setBingId(String bingId) {
        this.bingId = bingId;
    }

    public void setTimes(List<String> times) {
        this.times = times;
    }

    @Excel(name = "医生名称")
    private String docName;

    @Excel(name = "药剂名称")
    private String prescriptionName;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Excel(name = "药剂主键")
    private String prescriptionKey;

    public String getDocName() {
        return docName;
    }

    public void setDocName(String docName) {
        this.docName = docName;
    }

    public String getPrescriptionName() {
        return prescriptionName;
    }

    public void setPrescriptionName(String prescriptionName) {
        this.prescriptionName = prescriptionName;
    }

    /**
     * 症状
     */
    @Excel(name = "症状")
    private String symptom;

    /**
     * 病名
     */
    @Excel(name = "病名")
    private String bingName;

    @Excel(name = "病名")
    private String bingId;

    /**
     * 介绍
     */
    @Excel(name = "介绍")
    private String introduce;

    /**
     * 时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /**
     * $column.columnComment
     */
    private Date createTme;

    /**
     * $column.columnComment
     */
    private String deleteFlag;

    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }

    public String getDocKey() {
        return docKey;
    }

    public void setDocKey(String docKey) {
        this.docKey = docKey;
    }

    public void setPrescriptionKey(String prescriptionKey) {
        this.prescriptionKey = prescriptionKey;
    }

    public String getPrescriptionKey() {
        return prescriptionKey;
    }

    public void setSymptom(String symptom) {
        this.symptom = symptom;
    }

    public String getSymptom() {
        return symptom;
    }

    public void setBingName(String bingName) {
        this.bingName = bingName;
    }

    public String getBingName() {
        return bingName;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Date getTime() {
        return time;
    }

    public void setCreateTme(Date createTme) {
        this.createTme = createTme;
    }

    public Date getCreateTme() {
        return createTme;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("key", getKey())
                .append("docKey", getDocKey())
                .append("prescriptionKey", getPrescriptionKey())
                .append("symptom", getSymptom())
                .append("bingName", getBingName())
                .append("introduce", getIntroduce())
                .append("time", getTime())
                .append("createTme", getCreateTme())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("deleteFlag", getDeleteFlag())
                .toString();
    }
}
